how to properly expose flog every single time